package com.sjgtw.cloud.web.protectionNet.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 护坡地段防护网对象 t_eg_protection_net
 * 
 * @author lvyoufang
 * @date 2024-03-14
 */
@ApiModel(value="护坡地段防护网对象", description="t_eg_protection_net")
public class ProtectionNet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区段id */
    @ApiModelProperty(value = "区段id")
    private Long section;

    /** 区段名称 */
    @ApiModelProperty(value = "区段名称")
    @ExcelProperty(value = "区段")
    private String sectionName;

    /** 工区id */
    @ApiModelProperty(value = "工区id")
    private Long workArea;

    /** 工区名称 */
    @ApiModelProperty(value = "工区名称")
    @ExcelProperty(value = "工区")
    private String workAreaName;

    /** 里程 */
    @ApiModelProperty(value = "里程")
    @ExcelProperty(value = "里程")
    private String mileage;

    /** 左右侧 */
    @ApiModelProperty(value = "左右侧")
    @ExcelProperty(value = "左右侧")
    private String leftRight;

    /** 安装位置 */
    @ApiModelProperty(value = "安装位置")
    @ExcelProperty(value = "安装位置")
    private String location;

    /** 防护网类型 */
    @ApiModelProperty(value = "防护网类型")
    @ExcelProperty(value = "防护网类型")
    private String netType;

    /** 长/m */
    @ApiModelProperty(value = "长/m")
    @ExcelProperty(value = "长/m")
    private String length;

    /** 高/m */
    @ApiModelProperty(value = "高/m")
    @ExcelProperty(value = "高/m")
    private String height;

    /** 面积/m2 */
    @ApiModelProperty(value = "面积/m2")
    @ExcelProperty(value = "面积/m²")
    private String area;

    /** 防护类型 */
    @ApiModelProperty(value = "防护类型")
    @ExcelProperty(value = "防护类型")
    private String protectionType;

    /** 图片 */
    @ApiModelProperty(value = "图片")
//    @ExcelProperty(value = "图片")
    private String pic;

    /** 图片路径 */
    @ApiModelProperty(value = "图片路径")
//    @ExcelProperty(value = "图片路径")
    private String picUrl;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
//    @ExcelProperty(value = "创建人id")
    private Long createUserId;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSection(Long section) 
    {
        this.section = section;
    }

    public Long getSection() 
    {
        return section;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setWorkArea(Long workArea) 
    {
        this.workArea = workArea;
    }

    public Long getWorkArea() 
    {
        return workArea;
    }
    public void setWorkAreaName(String workAreaName) 
    {
        this.workAreaName = workAreaName;
    }

    public String getWorkAreaName() 
    {
        return workAreaName;
    }
    public void setMileage(String mileage) 
    {
        this.mileage = mileage;
    }

    public String getMileage() 
    {
        return mileage;
    }
    public void setLeftRight(String leftRight) 
    {
        this.leftRight = leftRight;
    }

    public String getLeftRight() 
    {
        return leftRight;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setNetType(String netType) 
    {
        this.netType = netType;
    }

    public String getNetType() 
    {
        return netType;
    }
    public void setLength(String length) 
    {
        this.length = length;
    }

    public String getLength() 
    {
        return length;
    }
    public void setHeight(String height) 
    {
        this.height = height;
    }

    public String getHeight() 
    {
        return height;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setProtectionType(String protectionType) 
    {
        this.protectionType = protectionType;
    }

    public String getProtectionType() 
    {
        return protectionType;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("section", getSection())
            .append("sectionName", getSectionName())
            .append("workArea", getWorkArea())
            .append("workAreaName", getWorkAreaName())
            .append("mileage", getMileage())
            .append("leftRight", getLeftRight())
            .append("location", getLocation())
            .append("netType", getNetType())
            .append("length", getLength())
            .append("height", getHeight())
            .append("area", getArea())
            .append("protectionType", getProtectionType())
            .append("pic", getPic())
            .append("picUrl", getPicUrl())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
